package dazuoye.基于事件的隐式调用;

import dazuoye.基于主程序子程序风格.KWIC1;

import java.util.ArrayList;
import java.util.List;

public class KwicEvent implements Event{
    private int n;
    private List<String> list;

    public KwicEvent(int n, List<String> list) {
        this.n = n;
        this.list = list;
    }

    @Override
    public int getN() {
        return n;
    }

    @Override
    public List<String> getResource() {
        return list;
    }
}
